<div>
	<div>
		<h2 style="text-align:center"><?php echo $board['Name']; ?></h2>
	</div>
	<div>
		<table>
			<tr>
				<th>Thread</th>
				<th style="width:150px">Creator</th>
				<th style="width:150px">Messages</th>
				<th style="width:150px">Last Post</th>
			</tr>
			<?php
				foreach( $threads as $thread )
				{
					echo '<tr>';
					echo '<td>' . anchor('/Thread/view/'.$thread['ThreadID'],  $thread['Title']) . '</td>';
					$user = $this->user->get_user($thread['Creator']);
					echo '<td>' . $user['UserName'] . '</td>';
					echo '<td>' . $thread['count'] . '</td>';
					echo '<td>' . $thread['Created'] . '</td>';
					echo '</tr>';
				}
			?>
		</table>
	</div>
</div>